/*
 * @Author: yxfan
 * @Date: 2023-11-04 15:59:53
 * @LastEditTime: 2023-11-04 16:20:22
 * @FilePath: /umi-demo/src/pages/test/useContext/components/GrandSon.js
 * @Description:
 */
import { useContext } from 'react';
import context from '../context';

export default () => {
    const { name } = useContext(context);
    console.log('Grandson render');

    return (
        <div>
            孙子节点
            {name}
        </div>
    );
};
